const http = require('http')
const serve = http.createServer()
serve.on('request', (req, res) => {
  console.log(req.url, req.method)
  res.end('卡萨丁开了个叫阿三的看风景')
})
serve.listen(8080, () => {
  console.log('open success')
})